import request from "@/utils/requestPro.js";


// 查询退库订单列表
export function getCancelListAPi(params) {
	return request({
		url: '/admin/appHome/cancelling/stocks/business/get/order',
		method: 'get',
		params,
	});
}

// 取消---退库订单
export function cancelOrderAPi(params) {
	return request({
		url: '/admin/appHome/cancelling/stocks/business/cancel/order',
		method: 'put',
		params,
	});
}

// 添加---退库订单
export function saveCancelOrderAPi(data) {
	return request({
		url: '/admin/appHome/cancelling/stocks/business/save/order',
		method: 'post',
		data,
	});
}